package com.yc.baihe.beans;

import java.io.Serializable;

public class UserPhoto implements Serializable{
	private static final long serialVersionUID = 1L;
	private int buid;//用户账号
	private String photos;//用户照片地址
	private String seating;//审核状态
	private String timedd;//上传时间
	private String assessor_time;//审核时间
	private String auditor;//审核人
	private String point;//提示信息
	
	private String temp1;//备用
	private String temp2;//备用
	
	@Override
	public String toString() {
		return "UserPhoto [buid=" + buid + ", photos=" + photos + ", seating="
				+ seating + ", timedd=" + timedd + ", assessor_time="
				+ assessor_time + ", auditor=" + auditor + ", point=" + point
				+ ", temp1=" + temp1 + ", temp2=" + temp2 + "]";
	}

	public int getBuid() {
		return buid;
	}

	public void setBuid(int buid) {
		this.buid = buid;
	}

	public String getPhotos() {
		return photos;
	}

	public void setPhotos(String photos) {
		this.photos = photos;
	}

	public String getSeating() {
		return seating;
	}

	public void setSeating(String seating) {
		this.seating = seating;
	}

	public String getTimedd() {
		return timedd;
	}

	public void setTimedd(String timedd) {
		this.timedd = timedd;
	}

	public String getAssessor_time() {
		return assessor_time;
	}

	public void setAssessor_time(String assessor_time) {
		this.assessor_time = assessor_time;
	}

	public String getAuditor() {
		return auditor;
	}

	public void setAuditor(String auditor) {
		this.auditor = auditor;
	}

	public String getPoint() {
		return point;
	}

	public void setPoint(String point) {
		this.point = point;
	}

	public String getTemp1() {
		return temp1;
	}

	public void setTemp1(String temp1) {
		this.temp1 = temp1;
	}

	public String getTemp2() {
		return temp2;
	}

	public void setTemp2(String temp2) {
		this.temp2 = temp2;
	}

	public UserPhoto(int buid, String photos, String seating, String timedd,
			String assessor_time, String auditor, String point, String temp1,
			String temp2) {
		super();
		this.buid = buid;
		this.photos = photos;
		this.seating = seating;
		this.timedd = timedd;
		this.assessor_time = assessor_time;
		this.auditor = auditor;
		this.point = point;
		this.temp1 = temp1;
		this.temp2 = temp2;
	}

	public UserPhoto() {
		super();
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((assessor_time == null) ? 0 : assessor_time.hashCode());
		result = prime * result + ((auditor == null) ? 0 : auditor.hashCode());
		result = prime * result + ((photos == null) ? 0 : photos.hashCode());
		result = prime * result + ((point == null) ? 0 : point.hashCode());
		result = prime * result + ((seating == null) ? 0 : seating.hashCode());
		result = prime * result + ((temp1 == null) ? 0 : temp1.hashCode());
		result = prime * result + ((temp2 == null) ? 0 : temp2.hashCode());
		result = prime * result + ((timedd == null) ? 0 : timedd.hashCode());
		result = prime * result + buid;
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		UserPhoto other = (UserPhoto) obj;
		if (assessor_time == null) {
			if (other.assessor_time != null)
				return false;
		} else if (!assessor_time.equals(other.assessor_time))
			return false;
		if (auditor == null) {
			if (other.auditor != null)
				return false;
		} else if (!auditor.equals(other.auditor))
			return false;
		if (photos == null) {
			if (other.photos != null)
				return false;
		} else if (!photos.equals(other.photos))
			return false;
		if (point == null) {
			if (other.point != null)
				return false;
		} else if (!point.equals(other.point))
			return false;
		if (seating == null) {
			if (other.seating != null)
				return false;
		} else if (!seating.equals(other.seating))
			return false;
		if (temp1 == null) {
			if (other.temp1 != null)
				return false;
		} else if (!temp1.equals(other.temp1))
			return false;
		if (temp2 == null) {
			if (other.temp2 != null)
				return false;
		} else if (!temp2.equals(other.temp2))
			return false;
		if (timedd == null) {
			if (other.timedd != null)
				return false;
		} else if (!timedd.equals(other.timedd))
			return false;
		if (buid != other.buid)
			return false;
		return true;
	}
	
}
